FROM shuimin/node:6

RUN cnpm i webpack gulp -g \
&& mkdir -p /opt/np \
&& cd /opt/np \
&& git clone https://github.com/sunrain990/webpack-dockerode

WORKDIR /opt/np/webpack-dockerode

RUN cnpm install

EXPOSE 3000

CMD ["gulp"]